//
//  PropertySubClassOne.m
//  XIBProje
//
//  Created by meitianhui2 on 2017/11/29.
//  Copyright © 2017年 DeLongYang. All rights reserved.
//

#import "PropertySubClassOne.h"

@implementation PropertySubClassOne


/**
 执行某个操作
 */
- (void)execute
{
    float value = 0;
    if (self.delegate)
    {
        [self.delegate propertySubClassOneDidUpdateValue:&value];
    }
    
    //
    NSLog(@"subClassOne execute ...");
    
    //
    if (self.valueProvider) {
        self.valueProvider(&value);
    }
    
}

@end
